package top.kaoshanji.p1ch05g.processors;

import org.springframework.beans.factory.config.ConfigurableBeanFactory;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import top.kaoshanji.p1ch05g.model.Comment;

/**
 * @author kaoshanji
 * ^_^
 * create time 2025/4/27 22:32
 */
@Component
@Scope(ConfigurableBeanFactory.SCOPE_PROTOTYPE)
public class CommentProcessor {

    private Comment comment;

    public Comment getComment() {
        return comment;
    }

    public void setComment(Comment comment) {
        this.comment = comment;
    }

    public void processComment(Comment comment) {}

    public void validateComment(Comment comment) {}

}
